package com.muyu.danmo.mapper;


import com.muyu.danmo.domain.DanmoTrainingShoppingPrSp;

import java.util.List;

/**
 * 培训班商品规格Mapper接口
 * 
 * @author kunzong
 * @date 2024-11-29
 */
public interface DanmoTrainingShoppingPrSpMapper 
{
    /**
     * 查询培训班商品规格
     * 
     * @param id 培训班商品规格主键
     * @return 培训班商品规格
     */
    public DanmoTrainingShoppingPrSp selectDanmoTrainingShoppingPrSpById(Long id);

    /**
     * 查询培训班商品规格列表
     * 
     * @param danmoTrainingShoppingPrSp 培训班商品规格
     * @return 培训班商品规格集合
     */
    public List<DanmoTrainingShoppingPrSp> selectDanmoTrainingShoppingPrSpList(DanmoTrainingShoppingPrSp danmoTrainingShoppingPrSp);

    /**
     * 新增培训班商品规格
     * 
     * @param danmoTrainingShoppingPrSp 培训班商品规格
     * @return 结果
     */
    public int insertDanmoTrainingShoppingPrSp(DanmoTrainingShoppingPrSp danmoTrainingShoppingPrSp);

    /**
     * 修改培训班商品规格
     * 
     * @param danmoTrainingShoppingPrSp 培训班商品规格
     * @return 结果
     */
    public int updateDanmoTrainingShoppingPrSp(DanmoTrainingShoppingPrSp danmoTrainingShoppingPrSp);

    /**
     * 删除培训班商品规格
     * 
     * @param id 培训班商品规格主键
     * @return 结果
     */
    public int deleteDanmoTrainingShoppingPrSpById(Long id);

    /**
     * 批量删除培训班商品规格
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDanmoTrainingShoppingPrSpByIds(Long[] ids);
}
